package com.example.springboot.globalutils;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum RespCodeEnums {
    /**
     * 响应码枚举
     */
    S0(0, "成功"),
    NO_DATA(1, "暂无数据"),
    S402(402, "请求头不存在token"),
    S1001(1001, "验证码错误"),
    S1002(1002, "验证码已过期"),
    S1003(1003, "国际电话区号错误"),
    S1011(1011, "⽤户名已存在"),
    S1012(1012, "邮箱已存在"),
    S1013(1013, "⼿机号已存在"),
    ;

    private final Integer code;
    private final String desc;
}
